CommonEvent 9029
Name = "混沌炎の精霊イベント"

  ChangeMapDisplay([1])
  TransferPlayer([0, 266, 10, 15, 8, 0])
  ConditionalBranch([0, 3060, 1])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["It seems the lost spirits have returned to their respective homes."])
    ShowText(["Moreover, spirits from both the heavenly realm and the demonic realm are gathered here――"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 1337, 0, 2, 1])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["In the back, I can see the injured Mini resting."])
    ShowText(["However, separately, it seems the fire spirits are causing a commotion――"])
    Empty([])

  BranchEnd([])
  PlayBGM(["RPG::BGM(@name=\"scene_comi2\", @volume=100, @pitch=100)"])
  Wait([60])
  ShowPicture([6, "80_salamander_st02", 0, 0, -220, 0, 100, 100, 0, 0])
  ShowPicture([5, "80_grimoire_st01", 0, 0, -30, 0, 100, 100, 0, 0])
  ShowPicture([7, "80_gigamander_st01", 0, 0, 220, 0, 100, 100, 0, 0])
  MovePicture([6, nil, 0, 0, -220, 0, 100, 100, 255, 0, 60, false])
  MovePicture([5, nil, 0, 0, -30, 0, 100, 100, 255, 0, 60, false])
  MovePicture([7, nil, 0, 0, 220, 0, 100, 100, 255, 0, 60, true])
  ShowTextAttributes(["salamander_fc1", 1, 0, 2])
  ShowText(["\\n<Salamander>"])
  ShowText(["Wahahahaha!"])
  ShowTextAttributes(["gigamander_fc1", 0, 0, 2])
  ShowText(["\\n<Gigamander>"])
  ShowText(["Wahahahaha!"])
  ShowTextAttributes(["grimoire_fc1", 0, 0, 2])
  ShowText(["\\n<Grimoire>"])
  ShowText(["Help... help..."])
  ConditionalBranch([0, 1005, 0])
    ShowTextAttributes(["alice_fc5", 5, 0, 2])
    ShowText(["\\n<Alice>"])
    ShowText(["What on earth are they doing..."])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1006, 0])
    ShowTextAttributes(["alice_fc1", 5, 0, 2])
    ShowText(["\\n<Alice>"])
    ShowText(["What on earth are they doing..."])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1007, 0])
    ShowTextAttributes(["alice_fc7", 5, 0, 2])
    ShowText(["\\n<Alice>"])
    ShowText(["What on earth are they doing..."])
    Empty([])

  BranchEnd([])
  ShowTextAttributes(["salamander_fc1", 1, 0, 2])
  ShowText(["\\n<Salamander>"])
  ShowText(["Fire is meant to be fierce and turbulent!"])
  ShowTextAttributes(["gigamander_fc1", 0, 0, 2])
  ShowText(["\\n<Gigamander>"])
  ShowText(["I'm teaching them that!"])
  ShowTextAttributes(["grimoire_fc1", 0, 0, 2])
  ShowText(["\\n<Grimoire>"])
  ShowText(["It's been over a month, just going around..."])
  ShowText(["I don't understand..."])
  ShowTextAttributes(["salamander_fc1", 1, 0, 2])
  ShowText(["\\n<Salamander>"])
  ShowText(["Wahahahaha!"])
  ShowTextAttributes(["gigamander_fc1", 0, 0, 2])
  ShowText(["\\n<Gigamander>"])
  ShowText(["Wahahahaha!"])
  ConditionalBranch([1, 1337, 0, 2, 1])
    ShowTextAttributes(["phoenixb_fc1", 2, 0, 2])
    ShowText(["\\n<Mini>"])
    ShowText(["What on earth is going on? It's noisy..."])
    ShowText(["I want to rest in peace..."])
    Empty([])

  BranchEnd([])
  ErasePicture([5])
  ErasePicture([6])
  ErasePicture([7])
  Wait([30])
  PlayBGM(["RPG::BGM(@name=\"boss0-3\", @volume=100, @pitch=100)"])
  ShowAnimation([13, 542, false])
  Wait([60])
  ControlSwitches([32, 32, 0])
  Wait([120])
  ShowPicture([5, "80_bloddydragon_st01", 0, 0, 0, 0, 100, 100, 0, 0])
  MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 60, true])
  ShowTextAttributes(["bloddydragon_fc1", 0, 0, 2])
  ShowText(["\\n<Bloody Dragon>"])
  ShowText(["Enticed by the breath of scorching heat, I have come from afar!"])
  ShowText(["I am the Bloody Dragon, the one who wields the raging flames...!"])
  ShowTextAttributes(["bloddydragon_fc1", 2, 0, 2])
  ShowText(["\\n<Bloody Dragon>"])
  ShowText(["However, I do not understand..."])
  ShowText(["Why are you spinning around?"])
  ShowTextAttributes(["salamander_fc1", 1, 0, 2])
  ShowText(["\\n<Salamander>"])
  ShowText(["It's simple, flames are inherently chaotic!"])
  ShowTextAttributes(["gigamander_fc1", 0, 0, 2])
  ShowText(["\\n<Gigamander>"])
  ShowText(["A quiet flame is not a flame at all!"])
  ShowTextAttributes(["bloddydragon_fc1", 0, 0, 2])
  ShowText(["\\n<Bloody Dragon>"])
  ShowText(["I see, understood!"])
  ErasePicture([5])
  PlayBGM(["RPG::BGM(@name=\"scene_comi2\", @volume=100, @pitch=100)"])
  SetMoveRoute([13, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=1, @parameters=[])\", \"RPG::MoveCommand(@code=27, @parameters=[33])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
  Unnamed(["RPG::MoveCommand(@code=1, @parameters=[])"])
  Unnamed(["RPG::MoveCommand(@code=27, @parameters=[33])"])
  ShowTextAttributes(["salamander_fc1", 1, 0, 2])
  ShowText(["\\n<Salamander>"])
  ShowText(["Wahahahaha!"])
  ShowTextAttributes(["gigamander_fc1", 0, 0, 2])
  ShowText(["\\n<Gigamander>"])
  ShowText(["Wahahahaha!"])
  ShowTextAttributes(["bloddydragon_fc1", 0, 0, 2])
  ShowText(["\\n<Bloody Dragon>"])
  ShowText(["Wahahahaha!"])
  ShowTextAttributes(["grimoire_fc1", 0, 0, 2])
  ShowText(["\\n<Grimoire>"])
  ShowText(["Help... help..."])
  ShowTextAttributes(["ruka_fc1", 0, 0, 2])
  ShowText(["\\n<Luka>"])
  ShowText(["There are more fools now!"])
  ShowText(["I must help Grimoires!"])
  ConditionalBranch([4, 512, 0])
    ShowTextAttributes(["uriera_fc1", 2, 0, 2])
    ShowText(["\\n<Uriela>"])
    ShowText(["(Honestly, I want to spin around a little too...)"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1026, 0])
    ShowTextAttributes(["iriasu_fc4", 7, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["The opponent is a fool, but it is the high-level demon Apoptosis!"])
    ShowText(["Do not let your guard down!"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1027, 0])
    ShowTextAttributes(["iriasu_fc1", 4, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["The opponent is a fool, but it is the high-level demon Apoptosis!"])
    ShowText(["Do not let your guard down!"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1028, 0])
    ShowTextAttributes(["iriasu_fc3", 0, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["The opponent is a fool, but it is the high-level demon Apoptosis!"])
    ShowText(["Do not let your guard down!"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([4, 761, 0])
    ShowTextAttributes(["sigurd_fc1", 0, 0, 2])
    ShowText(["\\n<Sigrid>"])
    ShowText(["I am also getting heated up!"])
    ShowText(["Now, let's exterminate Apoptosis!!"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([4, 16, 0])
    ShowTextAttributes(["granberia_fc4", 0, 0, 2])
    ShowText(["\\n<Granberia>"])
    ShowText(["A burning fighting spirit and a calm heart..."])
    ShowText(["Let me show you the sharpness of my sword!"])
    Empty([])

  BranchEnd([])
  ChangeBattleBGM(["RPG::BGM(@name=\"boss1\", @volume=100, @pitch=100)"])
  ControlSwitches([22, 22, 0])
  BattleProcessing([0, 2019, false, false])
  ControlSwitches([22, 22, 1])
  ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
  ControlSwitches([32, 32, 1])
  ControlSwitches([33, 33, 1])
  PlayBGM(["RPG::BGM(@name=\"scene_epilogue2\", @volume=100, @pitch=100)"])
  ShowTextAttributes(["grimoire_fc1", 0, 0, 2])
  ShowText(["\\n<Grimoire>"])
  ShowText(["You came to help..."])
  ShowTextAttributes(["ruka_fc1", 0, 0, 2])
  ShowText(["\\n<Luka>"])
  ShowText(["Yeah... it seems really tough."])
  ShowTextAttributes(["salamander_fc1", 1, 0, 2])
  ShowText(["\\n<Salamander>"])
  ShowText(["Oh, Luka!"])
  ShowText(["As always, amidst the relaxed atmosphere, the fighting spirit is overflowing!"])
  ShowTextAttributes(["gigamander_fc1", 0, 0, 2])
  ShowText(["\\n<Gigamander>"])
  ShowText(["With our flames, let us further ignite that fighting spirit!"])
  ShowTextAttributes(["grimoire_fc1", 0, 0, 2])
  ShowText(["\\n<Grimoire>"])
  ShowText(["Finally, I can be free from these hot-headed folks..."])
  SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=37, @parameters=[])\", \"RPG::MoveCommand(@code=10, @parameters=[])\", \"RPG::MoveCommand(@code=39, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
  Unnamed(["RPG::MoveCommand(@code=37, @parameters=[])"])
  Unnamed(["RPG::MoveCommand(@code=10, @parameters=[])"])
  Unnamed(["RPG::MoveCommand(@code=39, @parameters=[])"])
  Script(["add_actor_ex(15)"])
  ScriptMore(["add_actor_ex(499)"])
  ScriptMore(["add_actor_ex(677)"])
  Script(["level_adjust(15,125)"])
  ScriptMore(["set_class_level(15, 3, 10, false, false)"])
  ScriptMore(["set_class_level(15, 4, 10, false, false)"])
  ScriptMore(["set_class_level(15, 24, 10, false, false)"])
  ScriptMore(["set_class_level(15, 25, 10, false, false)"])
  ScriptMore(["set_class_level(15, 27, 10, false, false)"])
  ScriptMore(["set_class_level(15, 215, 10, false, false)"])
  ScriptMore(["set_class_level(15, 216, 10, false, false)"])
  Script(["set_class_level(15, 217, 10, false, false)"])
  ScriptMore(["set_class_level(15, 218, 10, false, false)"])
  ScriptMore(["set_class_level(15, 285, 10, false, false)"])
  ScriptMore(["set_class_level(15, 288, 10, false, false)"])
  ScriptMore(["set_class_level(15, 291, 20, false, false)"])
  ScriptMore(["set_class_level(15, 7016, 15, false, false)"])
  Script(["level_adjust(499,125)"])
  ScriptMore(["set_class_level(499, 222, 20, false, false)"])
  ScriptMore(["set_class_level(499, 291, 20, false, false)"])
  ScriptMore(["set_class_level(499, 361, 20, false, false)"])
  ScriptMore(["set_class_level(499, 7016, 15, false, false)"])
  ScriptMore(["level_adjust(677,124)"])
  ScriptMore(["set_class_level(677, 222, 20, false, false)"])
  ScriptMore(["set_class_level(677, 343, 20, false, false)"])
  ScriptMore(["set_class_level(677, 7018, 15, false, false)"])
  ScriptMore(["set_class_level(677, 7019, 15, false, false)"])
  ScriptMore(["set_class_level(677, 7020, 15, false, false)"])
  RecoverAll([0, 15])
  RecoverAll([0, 499])
  RecoverAll([0, 677])
  ControlSwitches([3033, 3033, 0])
  PlayME(["RPG::ME(@name=\"fanfale\", @pitch=100, @volume=100)"])
  ShowTextAttributes(["", 0, 0, 2])
  ShowText(["The fire spirits have joined the party!"])
  Wait([60])
  Script(["gain_medal(161)"])
  ConditionalBranch([0, 1026, 0])
    ShowTextAttributes(["iriasu_fc4", 2, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["Every time I see Salamander, it feels like she's getting dumber..."])
    ShowText(["Is it just my imagination?"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1027, 0])
    ShowTextAttributes(["iriasu_fc1", 3, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["Every time I see Salamander, it feels like she's getting dumber..."])
    ShowText(["Is it just my imagination?"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1028, 0])
    ShowTextAttributes(["iriasu_fc3", 0, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["Every time I see Salamander, it feels like she's getting dumber..."])
    ShowText(["Is it just my imagination?"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([4, 16, 0])
    ShowTextAttributes(["granberia_fc4", 0, 0, 2])
    ShowText(["\\n<Granberia>"])
    ShowText(["When she was guiding me,"])
    ShowText(["she seemed a bit more composed..."])
    Empty([])

  BranchEnd([])
  ShowTextAttributes(["grimoire_fc1", 0, 0, 2])
  ShowText(["\\n<Grimoire>"])
  ShowText(["Is she burning her brain cells as fuel...?"])
  ShowTextAttributes(["rucyfina_fc2", 0, 0, 2])
  ShowText(["\\n<Lucifina>"])
  ShowText(["Full of energy, that's good..."])
  ConditionalBranch([0, 1026, 0])
    ShowTextAttributes(["iriasu_fc4", 2, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["Lucifina likes this high-tension type of atmosphere..."])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1027, 0])
    ShowTextAttributes(["iriasu_fc1", 4, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["Lucifina likes this high-tension type of atmosphere..."])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1028, 0])
    ShowTextAttributes(["iriasu_fc3", 0, 0, 2])
    ShowText(["\\n<Ilias>"])
    ShowText(["Lucifina likes this high-tension type of atmosphere..."])
    Empty([])

  BranchEnd([])
  ShowTextAttributes(["micaela_fc3", 0, 0, 2])
  ShowText(["\\n<Micaela>"])
  ShowText(["I prefer a quieter environment..."])
  ShowText(["True strength resides in silence."])
  ShowTextAttributes(["marcellus_fc1", 0, 0, 2])
  ShowText(["\\n<Marcellus>"])
  ShowText(["I also vote for 'quiet.'"])
  ConditionalBranch([0, 1005, 0])
    ShowTextAttributes(["alice_fc5", 2, 0, 2])
    ShowText(["\\n<Alice>"])
    ShowText(["I am for 'movement'..."])
    ShowText(["If I stay silent, I can't get pumped up."])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1006, 0])
    ShowTextAttributes(["alice_fc1", 3, 0, 2])
    ShowText(["\\n<Alice>"])
    ShowText(["I am for 'movement'..."])
    ShowText(["If I stay silent, I can't get pumped up."])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 1007, 0])
    ShowTextAttributes(["alice_fc7", 3, 0, 2])
    ShowText(["\\n<Alice>"])
    ShowText(["I am for 'movement'..."])
    ShowText(["If I stay silent, I can't get pumped up."])
    Empty([])

  BranchEnd([])
  ConditionalBranch([4, 512, 0])
    ShowTextAttributes(["uriera_fc1", 1, 0, 2])
    ShowText(["\\n<Uriela>"])
    ShowText(["I'm definitely for 'movement' too!"])
    Empty([])

  BranchEnd([])
  ShowTextAttributes(["ruka_fc1", 0, 0, 2])
  ShowText(["\\n<Luka>"])
  ShowText(["In the end, isn't it a matter of personality...?"])
  CallCommonEvent([9070])
  ConditionalBranch([1, 1337, 0, 2, 1])
    ShowTextAttributes(["phoenixb_fc1", 2, 0, 2])
    ShowText(["\\n<Mini>"])
    ShowText(["Has the commotion ended?"])
    ShowText(["Then, I want to rest quietly..."])
    Empty([])

  BranchEnd([])
  PlayBGM(["RPG::BGM(@name=\"dungeon_kazan\", @volume=100, @pitch=100)"])
  ExitEventProcessing([])
  Empty([])
